<template>
  <div>
    <van-tabbar v-model="active">
  <van-tabbar-item>
    <span>首页</span>
    <template #icon="props">
      <img :src="props.active ? require('../assets/vector/shouye.png') : require('../assets/vector/shouye_2.png')" />
    </template>
  </van-tabbar-item>
  <van-tabbar-item>
    <span>岗位</span>
    <template #icon="props">
      <img :src="props.active ? require('../assets/vector/zhaopingangwei.png') : require('../assets/vector/zhaopingangwei_2.png')" />
    </template>
  </van-tabbar-item>
  <van-tabbar-item>
    <span>动态</span>
    <template #icon="props">
      <img :src="props.active ? require('../assets/vector/dongtai.png') : require('../assets/vector/dongtai_2.png')" />
    </template>
  </van-tabbar-item>
  <van-tabbar-item>
    <span>了解</span>
    <template #icon="props">
      <img :src="props.active ? require('../assets/vector/liaojie.png') : require('../assets/vector/liaojiemodou_2.png')" />
    </template>
  </van-tabbar-item>
  <van-tabbar-item>
    <span>攻略</span>
    <template #icon="props">
      <img :src="props.active ? require('../assets/vector/gonglve.png') : require('../assets/vector/gonglve_2.png')" />
    </template>
  </van-tabbar-item>
</van-tabbar>
  </div>
</template>

<script>
  export default {
     data() {
    return {
      active: 0,
    };
  },
  }
</script>

<style lang="scss" scoped>

</style>